package com.ruoyi.system.domain;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.EqualsAndHashCode;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 举报设置对象 t_report_setting
 * 
 * @author DEREK
 * @date 2023-08-10
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_report_setting")
public class ReportSetting
{

    /** 主键 */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** key */
    @Excel(name = "key")
    private String code;

    /** value */
    @Excel(name = "value")
    private String value;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long enabled;

    /** 1=举报人2=举报动态 */
    @Excel(name = "1=举报人2=举报动态")
    private Integer type;
    private Date createTime;
    private Date updateTime;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("value", getValue())
            .append("enabled", getEnabled())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
